import request from "@/utils/request";

export const articleListAPI = params => {
  return request({
    url: '/v1_0/articles',
    params
  })
}

//封装一个获取新闻详情的接口
export const articleDetailAPI = id => {
  return request({
    url:`/v1_0/articles/${id}`
  })
}